package com.wnnight.wys.vo.config;

import com.wnnight.wys.entity.config.ChargeConfig;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @ClassName: ChargeConfigVo
 * @Description: //TODO
 * @author: LZJ
 * @date: 2022/8/30-14:50
 * @version: v1.0
 */
@Getter
@Setter
@ToString
public class ChargeConfigVo {

    private ChargeConfig chargeConfig;       //收费项目名

    @NotNull(message = "页码不能为空")
    @Min(value = 1, message = "页码大于或等于1")
    private Integer page;
}
